
#ifndef QUEUE_H
#define QUEUE_H



#pragma once
#include<iostream>
using namespace std;

template <typename Element>
struct node {
    node<Element>* next;
    Element data;
};

enum ErrorMessage {
    队列, 队列为空
};


template <typename Element>
class lqueue {
private:
    node<Element>* rear;
    node<Element>* front;
public:
    lqueue();
    void in(Element newData);
    bool isEmpty();
    Element out();
};



#endif // QUEUE_H
